package com.sxit.tdf.server.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author 橙子高
 * @since 2022-02-13
 */
@TableName("tb_classes")
@Schema(name = "Classes对象", description = "")
public class Classes implements Serializable {

  private static final long serialVersionUID = 1L;

  @Schema(description = "主键")
  @TableId(value = "id", type = IdType.AUTO)
  private Integer id;

  @Schema(description = "班级名称")
  private String className;

  @Schema(description = "班级对应的年纪 如18级")
  private String classYear;

  @Schema(description = "所属系部")
  private Integer deptId;

  @Schema(description = "所属专业")
  private Integer professionalId;

  @Schema(description = "包括的成员")
  private String userList;

  @Schema(description = "创建课程时间")
  private LocalDateTime createTime;

  @Schema(description = "更新课程信息时间")
  private LocalDateTime updateTime;

  @Schema(description = "班级状态")
  private int classStatu;

  public int getClassStatu() {
    return classStatu;
  }

  public void setClassStatu(int classStatu) {
    this.classStatu = classStatu;
  }

  public LocalDateTime getCreateTime() {
    return createTime;
  }

  public void setCreateTime(LocalDateTime createTime) {
    this.createTime = createTime;
  }

  public LocalDateTime getUpdateTime() {
    return updateTime;
  }

  public void setUpdateTime(LocalDateTime updateTime) {
    this.updateTime = updateTime;
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public String getClassName() {
    return className;
  }

  public void setClassName(String className) {
    this.className = className;
  }

  public String getClassYear() {
    return classYear;
  }

  public void setClassYear(String classYear) {
    this.classYear = classYear;
  }

  public Integer getDeptId() {
    return deptId;
  }

  public void setDeptId(Integer deptId) {
    this.deptId = deptId;
  }

  public Integer getProfessionalId() {
    return professionalId;
  }

  public void setProfessionalId(Integer professionalId) {
    this.professionalId = professionalId;
  }

  public String getUserList() {
    return userList;
  }

  public void setUserList(String userList) {
    this.userList = userList;
  }

  @Override
  public String toString() {
    return "Classes{"
        + "id="
        + id
        + ", className="
        + className
        + ", classYear="
        + classYear
        + ", deptId="
        + deptId
        + ", professionalId="
        + professionalId
        + "}";
  }
}
